package com.snail.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.snail.model.pojo.media.BizCollectionWorks;
import com.snail.model.pojo.media.BizWorks;
import com.baomidou.mybatisplus.extension.service.IService;
import com.snail.model.query.media.WorksPageQuery;
import com.snail.model.query.media.WorksReviewPageQuery;
import com.snail.model.vo.media.BizWorksReviewVo;
import com.snail.model.vo.media.BizWorksVo;

import java.util.List;

/**
* @author Monica
* @description 针对表【biz_works(作品主表)】的数据库操作Service
* @createDate 2025-08-16 15:15:44
*/
public interface BizWorksService extends IService<BizWorks> {

    BizWorks createWorks(BizWorks bizWorks);
    IPage<BizWorksVo> getWorksList(WorksPageQuery worksPageQuery);

    List<BizWorks> getWorksListByUserId(Long id,String name);



    List<BizWorks> getCollectionWorks(Integer collectionId);

    BizWorksVo getWorksById(Long id);

    IPage<BizWorksReviewVo> getWorksReviewList(WorksReviewPageQuery worksReviewPageQuery);

}
